package com.tourscool.springboot.starter.redisson.config;

import java.util.ArrayList;
import java.util.List;

/**
 * 我长得帅，不需要注释
 *
 * @author Carlton
 * @date 2018/12/27
 */
public class ClusterServersConfig extends BaseMasterSlaveServersConfig {
    /**
     * Redis cluster node urls list
     */
    private List<String> nodeAddresses = new ArrayList<String>();

    /**
     * Redis cluster scan interval in milliseconds
     */
    private int scanInterval = 1000;

    public List<String> getNodeAddresses() {
        return nodeAddresses;
    }

    public void setNodeAddresses(final List<String> nodeAddresses) {
        this.nodeAddresses = nodeAddresses;
    }

    public int getScanInterval() {
        return scanInterval;
    }

    public void setScanInterval(final int scanInterval) {
        this.scanInterval = scanInterval;
    }
}
